package com.ycsj.goldmedalnewconcept.teacher.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/2/18 0018.
 */

public class ClassInfo implements Serializable {

    /**
     * state : 1
     * list : [{"icon":1,"num":1,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN1","cl_id":1},{"icon":1,"num":2,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN2","cl_id":2},{"icon":1,"num":3,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN3","cl_id":3},{"icon":1,"num":4,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN4","cl_id":4},{"icon":1,"num":5,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN5","cl_id":5},{"icon":1,"num":6,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN6","cl_id":6},{"icon":1,"num":7,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN7","cl_id":7},{"icon":1,"num":8,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN8","cl_id":8},{"icon":1,"num":9,"school":"閮戝穽娴嬭瘯","courseware":"1","name":"JPXGN9","cl_id":9}]
     */

    private int state;
    private List<ListBean> list;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable{
        /**
         * icon : 1
         * num : 1
         * school : 閮戝穽娴嬭瘯
         * courseware : 1
         * name : JPXGN1
         * cl_id : 1
         */
        private int icon;//班级头像标识
        private int num;//班级的num
        private String school;//班级所属的学校
        private String courseware;
        private String name;//班级名称
        private int cl_id;
        private boolean isSelected;//是否被选中的标记,默认进入时候第一个班级被选中

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public int getIcon() {
            return icon;
        }

        public void setIcon(int icon) {
            this.icon = icon;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getSchool() {
            return school;
        }

        public void setSchool(String school) {
            this.school = school;
        }

        public String getCourseware() {
            return courseware;
        }

        public void setCourseware(String courseware) {
            this.courseware = courseware;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCl_id() {
            return cl_id;
        }

        public void setCl_id(int cl_id) {
            this.cl_id = cl_id;
        }
    }
}
